<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html><head>
<title>libcarcode.widgets.label</title>
<style>
body {
    background:white;
    margin: 0em 1em 10em 1em;
    color: black;
}

h1 { color: white; background: #4FA4FF; }
h2 { color: white; background: #4FA4FF; }
h3 { color: white; background: #00557F; }
h4 { color: white; background: #00557F; }
    
a { color: #AA5500; }

</style>
</head>
<body><a NAME="top" ID="top"></a>
<h1>libcarcode.widgets.label</h1>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#Label">Label</a></td>
<td>Label widget Simple widget to display text, cannot be resized and its size is determined according to the text and font.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="Label" ID="Label"></a>
<h2>Label</h2>
<p>
Label widget
        Simple widget to display text, cannot be resized and its size is
        determined according to the text and font.
</p>
<h3>Derived from</h3>
Widget
<h3>Methods</h3>
<table>
<tr>
<td><a href="#Label.__init__">Label</a></td>
<td>Label</td>
</tr><tr>
<td><a href="#Label.draw">draw</a></td>
<td></td>
</tr><tr>
<td><a href="#Label.events">events</a></td>
<td></td>
</tr><tr>
<td><a href="#Label.set_size">set_size</a></td>
<td></td>
</tr><tr>
<td><a href="#Label.set_text">set_text</a></td>
<td>Sets the label text</td>
</tr>
</table>
<p><a NAME="Label.__init__" ID="Label.__init__"></a>
<h4>Label (Constructor)</h4>
<b>Label</b>(<i>text, *args, **kargs</i>)
<p>
Label
</p><dl>
<dt><i>text</i></dt>
<dd>
string to be display
</dd><dt><i>pos</i></dt>
<dd>
touple position (x, y)
</dd>
</dl><a NAME="Label.draw" ID="Label.draw"></a>
<h4>Label.draw</h4>
<b>draw</b>(<i></i>)
<a NAME="Label.events" ID="Label.events"></a>
<h4>Label.events</h4>
<b>events</b>(<i>event</i>)
<a NAME="Label.set_size" ID="Label.set_size"></a>
<h4>Label.set_size</h4>
<b>set_size</b>(<i>size</i>)
<a NAME="Label.set_text" ID="Label.set_text"></a>
<h4>Label.set_text</h4>
<b>set_text</b>(<i>text</i>)
<p>
Sets the label text
</p></p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>